package com.midou.administration.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.midou.administration.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface MemberMapper extends BaseMapper<Member> {
    //查询充值记录
    public List<Member> selectMemberChongZhi(@Param("page")Page page,@Param("userId") Integer userId);

    //查询消费记录
    public List<Member> selectMemberXiaoFei(@Param("page")Page page,@Param("userId") Integer userId);

}
